System for multimedia spatial annotation, visualization, and recommendation

ABSTRACT

A system configured to provide a three-dimensional representation of a physical environment. The three-dimensional representation including annotation data associated with particular objects and/or viewpoints of the three-dimensional representation. In some cases, the viewpoints may be rendered using image data associated with a photograph captured from a corresponding viewpoint within the physical environment.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a continuation of and claims priority to U.S. application Ser. No. 15/479,242, filed on Apr. 4, 2017 and entitled “A SYSTEM FOR MULTIMEDIA SPATIAL ANNOTATION, VISUALIZATION, AND RECOMMENDATION,” which is a non-provisional of and claims priority to U.S. Provisional Application No. 62/317,973 filed on Apr. 4, 2016 and entitled “MOTIVATION,” 62/317,976 filed on Apr. 4, 2016 and entitled “CONVERTING A 3D RECONSTRUCTION INTO A “CLEANED” SHELL,” 62/317,980 filed on Apr. 4, 2016 and entitled “HUMAN INFORMED DATA DURING A 3D SCAN TO AID LATER CONSUMPTION,” 62/317,988 filed on Apr. 4, 2016 and entitled “USING THE GEOMETRY AND UNDERSTANDING OF THE SCENE TO PROVIDE REALISTIC VISUALIZATION OF VIRTUAL OBJECTS AND CHANGES,” 62/317,998 filed on Apr. 4, 2016 and entitled “USING THE GEOMETRY AND UNDERSTANDING OF THE SCENE TO PROVIDE REALISTIC VISUALIZATION OF VIRTUAL OBJECTS AND CHANGES,” and 62/318,007 filed on Apr. 4, 2016 and entitled “SPATIAL RETARGETING AND ARTIFICIAL INTELLIGENCE POWERED DESIGN,” which are incorporated herein by reference in their entirety.

BACKGROUND

The presence of three-dimensional (3D) imaging systems and three dimensional representations of physical environments are becoming more and more commonplace. However, oftentimes, rendering or placing of virtual objects within a 3D representation of the physical environments causes the object to stand out or appear out of place do to a lack of realism.

BRIEF DESCRIPTION OF THE DRAWINGS

The detailed description is described with reference to the accompanying figures. In the figures, the left-most digit(s) of a reference number identifies the figure in which the reference number first appears. The use of the same reference numbers in different figures indicates similar or identical components or features.

FIG. 1 illustrates an example spatial interaction system for generating 3D models associated with a physical environment according to some implementations.

FIG. 2 illustrates an example spatial interaction system for providing perspective based virtual object rendering within a 3D model associated with a physical environment according to some implementations.

FIG. 3 illustrates an example spatial interaction system for providing perspective based annotations to a three-dimensional environment according to some implementations.

FIG. 4 illustrates an example spatial interaction system for rendering a virtual object within a 3D model associated with a physical environment according to some implementations.

FIG. 5 illustrates an example viewpoint of a 3D virtual representation of a physical environment according to some implementations.

FIG. 6 illustrates the example viewpoint of FIG. 5 including annotations according to some implementations.

FIG. 7 illustrates an example edited version of the viewpoint of FIG. 5 according to some implementations.

FIG. 8 illustrates a first example viewpoint of a 3D virtual representation of a physical environment including a rendered object according to some implementations.

FIG. 9 illustrates a second example viewpoint of the 3D virtual representation of the physical environment including the rendered object according to some implementations.

FIG. 10 illustrates a third example viewpoint of the 3D virtual representation of the physical environment including the rendered object according to some implementations.

FIG. 11 illustrates an example process for combining 3D sub-models into a larger 3D model according to some implementations.

FIG. 12 illustrates another example process for combining 3D sub-models into a larger 3D model according to some implementations.

FIG. 13 illustrates an example of a larger 3D model, such as a doll house view and connecting image data collected by a user for connecting 3D sub models according to some implementations

FIG. 14 illustrates an example system for facilitating object purchasing according to some implementations.

FIG. 15 is an example flow diagram showing an illustrative process for generating an annotated 3D virtual representation of a physical environment according to some implementations.

FIG. 16 is another example flow diagram showing an illustrative process for generating an annotated 3D virtual representation of a physical environment according to some implementations.

FIG. 17 is an example flow diagram showing an illustrative process for connecting or combining 3D models according to some implementations.

FIG. 18 is another example flow diagram showing an illustrative process for connecting or combining 3D models according to some implementations.

FIG. 19 is another example flow diagram showing an illustrative process for rendering a viewpoint specific object within a 3D virtual representation according to some implementations.

FIG. 20 is another example flow diagram showing an illustrative process for rendering a viewpoint specific object within a 3D virtual representation according to some implementations.

FIG. 21 is an example mobile device configured to generate 3D models and/or 3D virtual representations of a physical environment according to some implementations.

FIG. 22 is an example cloud based service associated with a spatial interaction system configured to generate 3D models and/or 3D virtual representations of a physical environment according to some implementations.

DETAILED DESCRIPTION

This disclosure includes techniques and implementations for utilizing a three-dimensional (3D) model and image data of a physical environment to improve the visual quality and realism of a rendered object. For example, a user may capture image data associated with a home or another physical environment using a mobile device. In some cases, the mobile device may be equipped with image components capable of capturing high dynamic range data associated with the physical environment. The captured image data may be utilized by a spatial interaction system, such as a remote image system, an application associated with the mobile device, or a combination thereof, to generate the 3D model, 3D textured model, or mesh of the physical environment. In some cases, the high dynamic range data may be used to generate high dynamic range textures, lighting characteristics, occlusion characteristics, and/or color characteristics of the physical environment at a particular time and date.

In some cases, the physical environment includes multiple rooms or sub-environments. In these cases, the system may attempt to generate a doll house view or continuous 3D model (e.g., a home model) formed from sub-models representing each of the sub-environments. For instance, the system may be configured to receive image or video data captured by a user walking or otherwise traversing each of the sub-environments. In some cases, the system may be configured to identify the 3D sub-model associated with each connecting sub-environment using the 3D sub-model and the received image or video data. For example, the system may identify a first sub-environment and a second sub-environment by comparing the received image or video data to the 3D models. The system may also determine that the first and second sub-environments are adjacent based on a temporal proximity of the image or video data associated with the first and second sub-environment. In another example, the system may utilize position or pose information determined by the mobile device as the user traverses the physical environment and captures image data. For instance, the mobile device may be equipped with internal measurement units (IMU), global positioning system units (GPS), accelerometers, gyroscopes, magnetometers, or a combination thereof that may be used to collect position and/or orientation data that is usable to identify a position or pose of the mobile device as the image is captured. In some cases, the system may also analyze the image to identify which of the sub-models are associated with the position or pose of the mobile device. In another example, the system may be configured to determine the pose of the mobile device as the user traverses the physical environment and captures image data by performing simultaneous localization and mapping (SLAM) processes with respect to the captured image data and position data collected by the IMUs, GPS units, accelerometers, gyroscopes, magnetometers, or a combination thereof.

The system may orient and align the 3D models based on the received image or video data using the position information of the mobile device to construct the continuous 3D model or doll house view of the larger physical environment. In another example, the system may display each of the 3D sub-models of the sub-environments to a user and allow the user to arrange or connect the 3D sub-models to generate the continuous 3D model of the larger environment.

In some instances, once a 3D sub-model or continuous 3D model is generated of an environment, a user may capture one or more additional images of the environment from various perspectives and at various times and dates. The user may upload or otherwise provide the images to the system, discussed herein, and the system may insert or combine the image data from the various perspectives and at various times and dates using the corresponding 3D model to generate a 3D virtual representation. For example, the images may be used to generate a walkthrough or stepthrough of the 3D model in which a viewpoint may be created that is representative of the perspective of each of the images. In this manner, the objects within the 3D model may be representative of the actual look and feel (e.g., color, lighting, texture, etc.) associated with the objects of the image. In some examples, the system may also extend or utilize the image data of the captured images to generate or extend the actual look and feel to other perspectives, such that an object within a first viewpoint may include color, lighting, texture, etc. based at least in part on an image associated with a second viewpoint.

In some implementations, a walkthrough or stepthrough of the 3D model or environment, may be utilized to view a rendered object within the 3D model from multiple perspectives, such as to provide a user with an idea of how the object would look within the user's home. For example, a user may desire to purchase a vase as a decorative item within the user's living room. In this example, a 3D model of the living room may have been generated. The user may decide that the vase should be placed on a table located within the living room. Thus, the user may capture multiple images of the table within the living room each from a different perspective. The images may be received by the system and, in response, the system may generate a walkthrough of a 3D virtual representation of the living room using the 3D model of the living room and the images. The walkthrough may include a viewpoint of the table from the perspective associated with each of the images. For instance, if the user captured seven images of the table, the system may generate seven viewpoints of the table and allow the user to traverse the 3D virtual representation from viewpoint to viewpoint.

In the current example, the user may select a purple vase from a list of available vases. The system may render the purple vase from each of the viewpoints (e.g., the system may generate a view dependent rendering of the object within the 3D virtual representation of the living room). In this example, the purple vase may be rendered using the image data (e.g., color, lighting, texture, etc. associated with the images). The system may also render the purple vase using the high dynamic range data, high dynamic range textures, color characteristics, lighting characteristics, and occlusion characteristics associated with the 3D model of the living room. In some particular implementations, the high dynamic range data, high dynamic range textures, color characteristics, lighting characteristics, and occlusion characteristics utilized to render the object may be based on a particular date and time associated with the images or as selected by the user. Thus, the system described herein, may render the object from the perspective associated with each viewpoint of the walkthrough with the correct coloring, lighting, and occlusion effects that would be experienced if the purple vase was placed in the user's living room. Additionally, it should be understood, that by utilizing a walkthrough formed from images captured by the user of the user's living room, the system may also render other objects as well as background information that provides a realistic representation of the user's living room as the background information (e.g., the non-rendered objects or everything other than the purple vase in this example) may be supplied in a photorealistic manner.

In some cases, the user may decide to reject the purple vase as the aesthetics did not meet the approval of the user. In some implementations, the system may be configured to provide a suggested replacement or a second vase based on known user data and preferences. For example, the system may store user preference data obtained from third party systems, from prior interactions with the user (e.g., purchasing history, rejection of the first vase), from demographic information collected or obtained about the user, from analyzing image data captured by the user or associated with the user (e.g., the image data used to generate the model of the user's home or living room), among others. For instance, the system may determine the user prefers the color blue by identifying numerous blue objects within the user's home from the captured image data. Thus, the system may determine a blue vase may be more appealing to the user, than the purple vase previously selected by the user. In some instances, the system may also determine if the blue vase would be appealing based on the aesthetics of the user's living room based on image data associated with the 3D model or 3D virtual representation of the living room and/or the images used to create the walkthrough. For example, the system may apply known color selection techniques using the wall color or furniture color of the living room to select and recommend the blue vase. In these instances, the system may render the blue vase from each of the seven perspectives within the 3D virtual representation, such that the user may again walk through each of the seven viewpoints to visualize the blue vase within the user's living room.

In some cases, the user may approve of the blue vase. In these instances, the user may select the blue vase within the 3D model to cause the system to purchase the blue vase on behalf of the user. In some cases, the system may store purchasing information associated with the user and/or a merchant of the blue vase. In other examples, the system may allow the user to enter purchasing information and/or select the merchant from which to purchase the blue vase.

In other implementations, the system receives updated images of the user's physical environment to improve the 3D model of the user's environment. In some instances, the system may be configured to detect old versions of objects within the environment. For instance, the system may detect that the user has an old radio on a bookshelf in the user's living room from one or more of the images received. In some cases, the system may be configured to render a new version of the radio or a replacement to the radio within a 3D virtual representation being viewed by the user. In some cases, the system may alert the user to the presence of the rendered version of the radio replacement, as the radio may not be the focus of the user or reason the user is viewing the current 3D virtual representation of a physical environment. The system may also allow the user to purchase the radio replacement, as discussed above with the blue vase.

In some examples, the user may also desire to annotate (e.g., provide textual notes, video notes, audio notes, or otherwise alter a 3D virtual representation of an environment). In this example, the system may include a 3D model of a physical environment that was utilized to generate a 3D virtual representation (such as a walkthrough) of the physical environment. In some cases, the user may cause an annotation to be added to the 3D virtual representation and/or the 3D model by capturing additional images of the physical environment associated with the 3D virtual representation and the 3D model. In some cases, while capturing the additional images the user may add textual notes, visual notes, and/or audio notes at a particular location within the additional image. In some cases, the system may receive the additional image and the annotation data (e.g., the text, visual content, or audio content), and utilize the image data to locate or position the annotation within the 3D model and/or the 3D virtual representation, such that each time a user navigates to the location or position within the environment, the user experiences, views, or is otherwise alerted to the annotation. For example, the system may receive an audio annotation associated with a viewpoint or perspective of a user's living room captured from a position of a rocking chair. The system may identify the location as the location associated with the rocking chair by comparing the perspective of the image with the data of the 3D model of the user's living room. In other examples, the image capture device may be equipped with one or more sensors, such as IMUs, accelerometers, gyroscopes, magnetometers, or a combination thereof. In these examples, sensor data representative of a position of the image capture device at the time the additional image was captured may be provided to the system. Thus, the system may also utilize the sensor data to position the annotation within the 3D model and/or the 3D virtual representation. In some cases, the position data may be used in conjunction with the image data as part of a simultaneous localization and mapping process to position the image within the 3D model.

In some cases, a second user (such as a home designer or decorator) may desire to utilize the 3D model of the first user's living room to generate additional walkthroughs or a 3D virtual representation that the user may utilize to visualize the designer's vision (e.g., design scheme) for the user's home or living room. In these cases, the designer may visit the user's living room and capture images of the user's physical living room to create a walkthrough or other 3D virtual representation based on a stored 3D model of the user's living. For example, the designer may take one or more images of the physical living room based on a perspective to showcase furniture selected by the designer. The system may utilize the images and the 3D model to generate a walkthrough as discussed above. In some cases, the designer may make notes either for themselves or the user/home owner, which the system may located within a 3D virtual representation of the living room associated with the walkthrough for later viewing.

In some cases, the designer may later view the walkthrough or 3D virtual representation. The designer may then utilize the annotations to remember or revisit ideas the designer had onsite at the user's living room and the captured images. In some cases, the designer may also utilize the 3D model and the walkthrough or 3D virtual representation to cause selected objects, such as furniture, to be rendered based on the perspective of the images associated with the walkthrough, as discussed above. In some examples, the user may also be able to view and render objects within the walkthrough while the user is viewing the 3D virtual representation. Thus, the system may allow the user and the designer to collaborate on selecting furniture or other design aspects of the home based on photorealistic views of the living room and view-dependent renderings of the selected objects. In some cases, if an object or piece of furniture is agreed upon by the user and designer, the system may facilitate the purchase of the object or furniture for the living room. It should be understood, that in some cases, the user may view the 3D virtual representation or walkthrough with the designer from a location remote from the designer or via different computing devices.

In some specific examples, the user or the designer may desire to add additional perspectives or viewpoints to the walkthrough created by the designer. In this example, the user or designer may return to the physical environment and capture additional images of the physical environment. The system may receive the additional images and/or position data, and utilize the images and/or position data to relocalize the mobile device and/or the additional images within the walkthrough or 3D virtual representation. For example, the system may utilize position data, camera pose, IMU data, visual data within the image, and/or depth data associated with the image to relocalize the mobile device and the user within the 3D model or 3D virtual representation.

FIG. 1 illustrates an example spatial interaction system 100 for generating 3D models, 3D textured models, or a mesh associated with a physical environment according to some implementations. In the illustrated example, a user 102 may capture image data 104 and/or high dynamic range data 106 via a mobile device 108 of a physical environment 110. The mobile device 108 may provide the image data 104 and/or high dynamic range data 106 to a spatial interaction system 100 via one or more networks 112. The system 100 may be configured to generate a 3D model or mesh 114 of the physical environment 110 based at least in part on the image data 104 and/or high dynamic range data 106. In some cases, the mobile device 108 may also capture IMU data 118 and/or depth data 120 that may be used by the spatial interaction system 10 to generate the 3D model or mesh 114. In some cases, the system 100 may also be configured to generate high dynamic range textures, lighting characteristics, color characteristics, occlusion characteristics, among other characteristics associated with the 3D model.

In one particular example, the high dynamic range data 106 may be configured to generate the 3D model 114 as well as the high dynamic range textures, lighting characteristics, color characteristics, occlusion characteristics, etc. In this example, the image data 104 may include a series or time ordered set of images from varying perspectives within the physical environment 110. In this example, the spatial interaction system 100 may generate a 3D virtual representation or walkthrough 116 of the physical environment 110 based on the 3D model, the perspective of the image of the set of images relative to the 3D model, and/or position data/pose of the mobile device 108. For instance, the 3D virtual representation or walkthrough 116 may allow the user 102 to traverse the 3D model by navigating from image to image based on the temporal order or order in which the images were captured. In this manner, the 3D model may be represented to the user via the 3D virtual representation or walkthrough 116 in a photorealistic manner, as each of the perspectives viewed during the walkthrough 116 are generated based on the image data 104 are actual photographs.

FIG. 2 illustrates an example spatial interaction system 200 for providing perspective based virtual object rendering within a 3D model or mesh 202 associated with a physical environment 204 according to some implementations. In some situations, a user 206 may capture a series of related images of the physical environment 204 via a mobile device 208. For instance, the user 206 may utilize a camera of a smart phone or tablet to capture the series of images. The image data 210 associated with the series of images may be provided to the spatial interaction system 200 via a network 212 (e.g., via the Internet®).

As discussed above, the spatial interaction system 200 may include walkthrough generating instructions 214 to cause the spatial interaction system 200 to generate a 3D virtual representation or walkthrough 216 of the physical environment 204 using the 3D model 202 and the perspective of the set of images relative to the 3D model 202, and the pose or position of the mobile device 208 at the time each image of the set of images was captured. For instance, the 3D virtual representation or walkthrough 216 may allow the user 206 to traverse the 3D model 202 by navigating from image to image based on the temporal order or order in which the images were captured.

In some cases, the user 206 or the system 200 may insert or cause a virtual representation of an object to be rendered within the 3D virtual representation or walkthrough 216. In these cases, the spatial interaction system 200 may obtain object data 218 either from an internal storage device or an external associated database 220 or a third-party system 222. The spatial interaction system 200 may also include object rendering instructions 224 configured to render the virtual object based on the object data 218 using the 3D model 202. For example, the 3D model 202 may include corresponding lighting characteristics, color characteristics, occlusion characteristics, texture characteristics etc. determined based in part on the high dynamitic range data of the physical environment 204. Thus, the spatial interaction system 200 may render the virtual representation of the object in a manner that appears real based on the perspective of each of the images of the series of images and the physical characteristics of the physical environment 204.

For instance, when conventional systems, render virtual objects within a 3D image, the objects often appear out of place or fake as the object rendering fails to consider lighting effects or occlusion effects caused by the environment onto the object. However, in the system 200 discussed herein, the object may be rendered using the lighting characteristics, color characteristics, occlusion characteristics, texture characteristics associated with the model as well as using data derived from the series of images, such as perspective and position. For instance, in one example, the system 200 may receive pose information or sensor data associated with a position of the mobile device 208 at the position from which each image was captured. The system 200 may utilize the position information and the lighting characteristics, color characteristics, occlusion characteristics, texture characteristics to cause the object to be rendered as if the object was present in the physical environment 204. For instance, if the object was reflective, the spatial interaction system 200 may cause a reflection of physical objects in the physical environment to be reflected on the surface of the rendered object, including occlusions effects associated with physical objects reflected on the surface.

In one particular example, the system 200 may determine lighting conditions based on an analysis of a particular image and utilize the 3D model to apply lighting effects and occlusion effects to the virtual object based on the lighting conditions associated with the captured image from the perspective of the captured image, as discussed above. Thus, in this example, the spatial interaction system 200 may render the object using dawn lighting effects from a window to the right of the perspective of the image while taking into account that the light received via the window is diffused by a lamp located between the position of the rendered object and the window to the right of the perspective of the image.

FIG. 3 illustrates an example spatial interaction system 300 for providing perspective based annotations to a three-dimensional environment according to some implementations. In the illustrated example, a user 302 may capture images and/or video of a physical environment 304, such as a home, via a mobile device 306. The image data 308 (e.g., the captured images and/or video) may be provided to the spatial interaction system 300 via one or more networks 310. As discussed above, the spatial interaction system 300 may include walkthrough generating instructions 312 to cause the spatial interaction system 300 to generate a 3D virtual representation or walkthrough 314 based on a stored 3D model or mesh 316 of the physical environment 304. For instance, the 3D virtual representation or walkthrough 314 may allow the user 302 to traverse the 3D model, such as the 3D model 202 of FIG. 2, by navigating from image to image.

In the illustrated example, the image data 308 may include associated annotation data 316. For instance, individual images of the series of images used to generate the walkthrough 314 may have an associated annotation (e.g., visual content, textual content, or audio content). In some instances, the annotation data 316 associated with each individual image may be presented to a viewer when the viewer traverses to the particular viewpoint of the 3D virtual representation or walkthrough 314 associated with the individual image.

In other instances, the spatial interaction system 300 may include spatial annotation instructions 318 to allow the user 302 to position particular annotations at particular locations within the 3D model. For example, the user 302 may apply an annotation to a particular object, such as a piece of furniture. In these instances, the spatial annotation instructions 318 may cause an observer of the 3D virtual representation or walkthrough 314 to experience the particular annotation when the observer is presented with a viewpoint that includes a depiction of the particular object. For example, the annotation may include an audio recording of wind blowing outside a window. The user 302 may cause the audio associated with the wind blowing to be positioned on the window, such that each time the observer views the window, the observer's computing device outputs the wind blowing audio.

In some cases, the 3D virtual representation or walkthrough 314 may also be provided to additional users or observers 320 other than the user 302 that captured the image data 308 and/or the annotation data 316. For instance, the spatial interaction system 300 may provide the 3D virtual representation or walkthrough 314 to a second mobile device 322 associated with the user 320 via a network 324 (e.g., the Internet®). In these cases, the user 320 may also view or experience the physical environment 304 according to the image data 308 and the annotation data 316 provided by the mobile device 306 to the spatial interaction system 300. For example, the user 302 may be a real-estate broker that is generating the 3D virtual representation or walkthrough 314 for a potential buyer (e.g., user 320).

In some examples, the user 302 or 320 may desire to update the 3D virtual representation or walkthrough 314 at a later time. Thus, the user 302 or 320 may provide additional images to the spatial interaction system 300. In these instances, the spatial interaction system 300 may include localization instructions 326 which is configured to determine the location or position of the additional images with respect to the 3D model 316 as well as the 3D virtual representation or walkthrough 314. For example, the spatial interaction system 300 may determine a position of the additional images within the 3D virtual representation or walkthrough 314 or the 3D model 306 based at least in part on the position data associated with the mobile device 308 or 322, respectively, and/or by analyzing the image data associated with the additional image to identify a position within the 3D model 306. In some cases, the spatial interaction system 300 may insert or add the additional images to the 3D virtual representation or walkthrough 314 based on the position determined by executing the localization instructions 326.

In the discussion above, the 3D virtual representation 314 is discussed with respect to a walkthrough of the 3D model based on viewpoints generated by images captured of the environment that may include annotation data 316. However, in other examples, the 3D virtual representation 314 may be represented as an overhead view or doll house view of the physical environment. The overhead, doll house view, top down view, or floor plan view may include graphical representations of the annotations at the location associated with the particular annotation or the corresponding image. In some cases, the user 302 may be able to traverse the 3D virtual representation 314 by selecting the annotation and a viewing application associated with the spatial interaction system 300 may, in response, cause the viewpoint associated with the annotation to be displayed in a photorealistic manner. In this manner, the user 302 may consume the content associated with the annotation while viewing the corresponding image within the 3D virtual representation 314.

FIG. 4 illustrates an example spatial interaction system 400 for selecting objects rendered within a 3D model or mesh 402 associated with a physical environment 404 according to some implementations. As discussed above, a user 406 may capture a series of related images of the physical environment 404 via a mobile device 408. For instance, the user 406 may utilize a camera of a smart phone or tablet to capture the series of images. The image data 410 associated with the series of images may be provided to the spatial interaction system 400 via a network 412 (e.g., via the Internet®).

As discussed above, the spatial interaction system 400 may include walkthrough generating instructions 414 to cause the spatial interaction system 400 to generate a 3D virtual representation or walkthrough 416 of the 3D model. For instance, the walkthrough 416 may allow the user 406 to traverse the 3D model 402 by navigating from image to image based on the temporal order or order in which the images were captured.

In the illustrated example, the 3D virtual representation or walkthrough 416 may be provided to a third-party system 418, such as a designer, interior decorator, CAD professional, furniture sales store, etc. In some cases, the third-party system 418 may provide an object selection 420, such as an object recommended for a position associated with the viewpoints of the 3D virtual representation or walkthrough 416. In other cases, the spatial interaction system 400 may include object selection instructions 422 to identify objects to insert or render based at least in part on the 3D virtual representation or walkthrough 416 or the 3D model 402. For instance, the spatial interaction system 400 may be configured to receive object data 424 as well as pricing data 432 associated with the object from marketplace system 426 (e.g., merchants that offer the object for sale). The spatial interaction system 400 may be configured to determine based on the image data 410, 3D model data, known user preferences 434 (e.g. stored or received from the mobile device 406) and/or buying habits associated with the user 402, and/or the object data 424, that the user 402 may desire to purchase the object.

Once an object is selected either by the system 400 or by a third-party system 418, the spatial interaction system 400 may render the object in one or more of the viewpoints associated with the 3D virtual representation or walkthrough 416 by executing object rendering instructions 428. In the illustrated example, the object rendering instructions 428 are configured to cause the object to be rendered as a virtual object within the walkthrough 416. For example, the 3D model 402 may include corresponding lighting characteristics, color characteristics, occlusion characteristics, texture characteristics etc. determined based in part on the high dynamitic range data of the physical environment 404. Thus, the spatial interaction system 400 may render the virtual representation of the object in manner that appears real based on the perspective of at least one of the images captured by the mobile device 406. As discussed above, when conventional systems render virtual objects within a 3D image, the objects often appear out of place or fake as the object rendering fails to consider lighting effects or occlusion effects caused by the environment onto the object. However, in the system 400, discussed herein, the object may be rendered using the lighting characteristics, color characteristics, occlusion characteristics, texture characteristics associated with the model as well as using data derived from the series of images, such as perspective and position.

In the current example, the spatial interaction system 400 may alert the user 406 that the object has been rendered within the 3D virtual representation or walkthrough 416. In some cases, the spatial interaction system 400 may cause additional object data 424, such as price, availability, dimensions, specifications, among others, to be displayed by the mobile device 406 in response to a user input associated with the virtual object (e.g., in response to a user selection of the virtual object within the 3D virtual representation or walkthrough 416). For instance, the spatial interaction system 400 may provide purchase data 430 (e.g., credit authorization, delivery information, identification information, etc.) to the marketplace system 426 to purchase the object for the user 406.

It should be understood that while FIGS. 1-4 illustrates the spatial interaction system as external to the mobile device, in some instances the spatial interaction system may be implemented as an application operating on the mobile device, such that the user may capture image data using the mobile device and generate a 3D virtual representation or walkthrough in substantially real time. In another implementation, the spatial interaction system may be implemented in part on the mobile device as an application and in part as cloud-based or remote-based processing systems, as illustrated. In this implementation, the user may be able to capture images using the mobile device and generate the 3D virtual representation or walkthrough in substantially real time on the mobile device. The remote or cloud-based processing may then be utilized to refine or update the 3D virtual representation or walkthrough.

FIG. 5 illustrates an example viewpoint 500 of a 3D virtual representation of a physical environment according to some implementations. In the current example, a user may have uploaded a series of images associated with a physical environment, such the living room depicted in the viewpoint 500. For instance, a mobile device may be equipped with an image or video components capable of capturing color images. In one example, the mobile device may store and execute an application configured to cause the image and/or video components to capture images of a physical environment and to provide the images as a temporal sequence of images to a spatial interaction system, such as the spatial interaction system of FIGS. 1-4. In some cases, the application may cause the device to save or store video content as a series of still color images that are then assigned an order and uploaded to the spatial interaction system. The spatial interaction system may generate a series of perspectives or viewpoints associated with a virtual walkthrough of the physical environment using a stored 3D model or mesh of the living room, as discussed above.

In general, the walkthrough may be generated by applying the image data from the perspective of the mobile device or camera that captured the image at the time the image was captured. In some cases, the perspective may be determined by the mobile device by using IMU data, GPS data, or other sensor data collected by the device itself. In this example, the spatial interaction system may utilize the coordinates, IMU data, GPS data or other sensor data to orient and position the image data within the 3D model. By overlaying the image data on the 3D model, the walkthrough that is generated may have a photorealistic feel, as the user is viewing multiple still images of the physical environment as the user traverses from viewpoint to viewpoint. In some cases, by utilizing video data as a series of images, the walkthrough may include sufficient viewpoints as to enable the user to experience a substantially seamless navigation of the 3D model with respect to a given walkthrough. In some specific cases, the application and spatial interaction system may be configured to update or add images to a particular walkthrough of a physical environment, such that the walkthrough eventually includes photorealistic images from each perspective associated with the corresponding 3D model.

In the current example, the user may also add additional annotations while viewing the viewpoint 500. For example, the user may interact with annotation selection option 502 to cause the system to enter an annotation creating session.

FIG. 6 illustrates the example viewpoint 500 of FIG. 5 including annotations 602-610 according to some implementations. For instance, in the illustrated example, the annotations associated with the viewpoint 500 of a 3D virtual representation or walkthrough are shown on the left-hand side of the display, such as a display associated with a mobile device of FIGS. 1-4. In this example, the annotations 602 and 604 may include visual content. For instance, the annotation 602 may include still image content while the annotation 604 may include video content. In this example, the annotation 602 may include a 360° view of the table 612 and the annotation 604 may include a video of an individual sitting in the chair 614.

The annotations 606 and 608 may both contain audio content. For instance, the annotation 606 may include audio content associated with an object falling from the table 612 to the floor 616 and the annotation 608 may include audio content associated with an individual sitting on the sofa 618. The annotation 610 may include textual content associated with pillow 618. For instance, the textual content may include product information (e.g., make, model, price, availability) associated with the pillow 618.

FIG. 7 illustrates an example edited version 700 of the viewpoint 500 of FIG. 5 according to some implementations. For example, a user may desire to visualize a change to the wall 702. Thus, in this example, the user has caused the brick wall to be covered by stucco. As discussed above, the spatial interaction system either operating on a remote server or as a local application may utilize the 3D model or mesh including lighting characteristics, color characteristics, occlusion characteristics from the perspective of the viewpoint within the 3D model to render the stucco covered wall including coloring, shading, and lighting effects from the perspective of the viewpoint in order to give the user a more realistic sense of how the stucco wall would look.

While FIGS. 5-7 illustrate specific viewpoints within a 3D model or 3D virtual representation of a physical environment that are associated with a photograph or photorealistic quality, it should be understood, that in some instances, the viewpoints of the 3D model or 3D virtual representation may not correspond directly to a camera pose. Thus, the spatial interaction system may generate some background content as textured content using the 3D model. For example, in one implementation, the user may select any point or position within a 3D model or 3D virtual representation and the spatial interaction system may display to the user a viewpoint associated with that point or position.

FIG. 8 illustrates a first example viewpoint 800 of a 3D virtual representation of a physical environment including a rendered object 802 according to some implementations. In the illustrated example, the rendered object 802 has a curved metallic or reflective surface and the viewpoint 800 is to the left of a window, generally at a location indicated by 804 within the physical environment. In this example, since the object 802 has a curved and reflective surface, the surface of the object 802 should correctly represent the reflection of the window 806. By utilizing the 3D model or mesh of the physical environment and the pose of the camera (e.g., the position of the camera at the time the image associated with the viewpoint 800 was captured), the spatial interaction system may determine lighting effects, occlusion effects, and coloring effects associated with the rendered object 802. Additionally, if the 3D model was generated or supplemented with high dynamic range data, the spatial interaction system may apply high dynamic range textures, lighting characteristics, and occlusion characteristics to the rendered object 802. In some specific instances, the spatial interaction system may determine the lighting effects based on a time of day or date associated with the captured image (e.g., natural lighting during the day, artificial lighting during the night, the position of the sun relative to the environment based on the time of year, the location of the light sources such as windows, lamps, overhead lights, etc.).

Further, in addition to the reflection of the window 806, the reflective surface of the rendered object 802 may also reflect or depict the furniture or fixtures 808 located behind the camera position or the position of the viewpoint 800. Thus, the spatial interaction system may render the object taking into consideration the lighting, surrounding environment, and occlusion effects 360° around the object using the 3D model and applying the rendering based on the perspective of the viewpoint 800 or the camera pose at the time the image of the viewpoint 800 was captured.

FIG. 9 illustrates a second example viewpoint 900 of the 3D virtual representation of the physical environment including the rendered object 802 according to some implementations. As discussed above, the object 802 is rendered using a 3D model or mesh of the environment including high dynamic range data that may be utilized to characterize lighting effects, color effects, occlusion effects, etc. from the surrounding environment. In this example, the perspective has changed from the viewpoint 800 to the viewpoint 900. Thus, the rendering of the reflections of the window 806 and the room fixtures 808 on the surface of the object 802 are shifted to reflect the change in position or perspective associated with moving from viewpoint 800 to viewpoint 900.

FIG. 10 illustrates a third example viewpoint 1000 of the 3D virtual representation of the physical environment including the rendered object according to some implementations. Again, the shifting of the perspective from the viewpoint 900 to the viewpoint 1000 causes the reflections 806 and 808 on the surface of the rendered object 802 to have shifted. The system utilizes the 3D model or mesh and the camera pose at the time the image associated with the viewpoint 1000 was captured to render the reflections 806 and 808 in a more realistic manner than other 3D rendered objects.

FIG. 11 illustrates an example process 1100 for combining 3D sub-models, such as 3D models or meshes of rooms 1102-1108, into a larger 3D model of the larger environment, such as the home 1110, according to some implementations. For example, the user 1112 may have generated the individual 3D sub-models of the rooms 1102-1108 by capturing image or video data from various angles, views, perspectives, and camera poses while traversing within the room. The spatial interaction system, such as the systems of FIGS. 1-4, may generate the 3D sub-model from the image or video data for each room 1102-1108. However, the user 1112 may desire to connect or generate a larger 3D model of an entire physical environment, such as the home 1110.

In these instances, the user 1112 may capture video or successive still image data using a camera, or the mobile device 1114 as the user 1112 walks or moves from room 1102 to room 1108, such as along path 1116. In this example, the mobile device 1114 may collect sensor data and/or position data associated with each image captured by the mobile device 1114. The spatial interaction system, either as an application on the mobile device 1114 or operating on a remote server, may then determine a camera pose relative to the 3D sub-models. The spatial interaction system may then utilize the pose and the image data to align and orient each 3D sub-model with each other to generate the larger 3D model of the full physical environment or home 1110. In another example, the spatial interaction system may analyze the image data collected to identify the 3D sub-models in a successive order corresponding to the order the image data was captured. In this example, the spatial interaction system may utilize the image data to orient each 3D sub-model with each other to generate the larger 3D model of the full physical environment or home 1110.

FIG. 12 illustrates another example process 1200 for combining 3D sub-models, such as 3D sub-models 1202-1206, into a larger 3D model or mesh according to some implementations. In the current example, the spatial interaction system, either as an application on the mobile device or operating on a remote server, may display to a user the 3D sub-models 1202-1206. For instance, the user may select the 3D sub-models 1202-1206 form a list or database of 3D models.

Once the 3D sub-models 1202-1206 are displayed to the user on an electronic device, the user may connect the 3D sub-models in a desired manner. For instance, in the current example, the user may have connected 3D sub-model 1202 and 1204 by drawing a line 1208 between the 3D sub-model 1202 and the 3D sub-model 1204 or dragging and dropping the 3D sub-model 1202 next to the 3D sub-model 1204. In some instances, the user may indicate connecting doorways or opening of the 3D sub-models 1202 and 1204 to cause the 3D sub-models 1202 and 1204 to correctly align with each other. In other instances, the user may place the 3D sub-models proximate to each other and the spatial interaction system may complete the larger model or doll house view of the larger 3D model.

In some situations, such as the illustrated example of FIG. 12, some of the 3D sub-models, such as 3D sub-model 1206, may be need to be rotated prior to connecting. In this example, the user may select and rotate the 3D sub-model 1206, generally indicated by 1210, prior to drawing the connecting line 1212 to connect the 3D sub-model 1206 with the 3D sub-model 1204 as shown. In other instances, the spatial interaction system may be configured to correctly align and/or orient the 3D sub-models 1204 and 1206 in response to receiving a user input selection connecting doorways or openings, such as is shown with respect to line 1212.

FIG. 13 illustrates an example 1300 of a larger 3D model or mesh, such as a doll house view 1302, and connecting image data 1304 collected by a user for connecting 3D sub models according to some implementations. For example, the doll house view 1302 may be of an individual room or generated from one 3D sub-model. For example, the image data 1304 may be representative of connecting image data collected as a user physically traverses an environment and the doll house view 1302 may be one view of a 3D model that is representative of a larger 3D model of home. In some cases, the image data 1304 may be used by the spatial interaction system to generate the doll house view or to connect multiple 3D sub-models to form the doll house view 1302.

In other examples, such as the doll house view 1302 of the illustrated example may be of a larger physical environment. In some cases, the doll house view 1302 may be created by connecting 3D sub-models as discussed above with respect to FIGS. 11 and 12. However, in other examples, the doll house view 1302 may be generated by using a scanned mesh as input (e.g., the scan associated with generating a 3D model). The spatial interaction system may then utilize the scanned mesh to detect major planar segments using a plane detection technique, such as a Hough voting scheme or random sample consensus. Then the spatial interaction system may for each segment, compute the segment's planar normal and offsets. The spatial interaction system then utilizes at least one of clustering, iterations over pairs of segments, or iteration over normal or offsets to identify pairs of segments with approximately the same planar normal and offsets. In some examples, the spatial interaction system may apply one or more thresholds to determine if a pair of segments are within the same planar normal and offsets.

In this example, for each pair of segments identified, the spatial interaction system determines that the pair is connected and completes the missing geometry between the segments of the pair. For instance, the spatial interaction system may find the lowest and highest points within the two segments, the right most edge of the left-most segment, and the left-most edge of the right-most segment and then complete the intermediate region with a selected mesh.

The spatial interaction system may continue to cycle or loop to connect other geometries in the doll house view 1302 by determining if each pair of geometries intersect and completing the geometry by selecting a mesh. The filled-in geometry. In some specific examples, the spatial interaction system may determine whether a potential completed plane has a hole by detecting errors within the depth data of surfaces of a geometry when viewed from the front.

In some situations, a geometry may not connect to the ground plane. In this situation, the spatial interaction system may extrapolate rays of lines from the camera at a plurality of locations and, if no lines intersect with the observed geometry beyond where the wall is to be extended, the spatial interaction system may extend the wall to the ground plane.

In some instances, such as when a 3D virtual representation of the 3D model, such as a walkthrough, is generated using image data, the doll house view 1302 may include indications or markers associated with each image of the walkthrough and the doll house view 1302 may be used as a map to navigate through the walkthrough (e.g., the user may be able to select viewpoints of the walkthrough using the floor plan 1302 view). Similarly, the doll house view 1302 may be used to display annotations associated with particular locations or positions within a 3D model to a user, such that the user may select a desired annotation on the doll house view 1302 to cause the system to zoom or otherwise display the image data together with the annotation to the user.

FIG. 14 illustrates an example 1400 of a system 1402 for facilitating render object purchasing according to some implementations. In general, the spatial interaction system 1402 may allow a user 1404 to captures images using a mobile device 1406 of a physical environment 1408 and to transmit the image data to the spatial interaction system 1410 to the spatial interaction system 1402 to cause the spatial interaction system 1402 to generate 3D models or meshes 1412.

In the illustrated example, a user 1404 may be capturing images using a mobile device 1406 to generate a 3D virtual representation of the physical environment 1408. In this example, the user 1404 may be taking multiple images of a newly purchased table 1414 from various camera poses of the mobile device 1406 to generate a walkthrough showing the table 1414 to a friend from multiple perspectives.

The spatial interaction system 1402 may also store instructions, such as object detection instructions 1418, object selection instructions 1420, object rendering instructions 1422, and object purchase instructions 1424. The spatial interaction system 1402 may also store data useful when executing the instructions 1418-1424, such as image data 1410, model data 1426, object data 1428, and user preference data 1430. The image data 1410 may include images associated with various physical environments and 3D models, the model data 1426 may include data such as lighting characteristics, color characteristics, occlusion characteristics, high dynamic range textures, etc. useful for rendering objects using a 3D model, the object data 1428 may include information associated with various objects, such as price, CAD files, object identifies, availability at various merchants, model, make, etc., and the user preference data 1430 may include information know about the user 1404, such as buying habits, demographic information, employment information, etc.

The object detection instructions 1418 may be configured to detect objects within the image data 1410 received from a physical environment, such as physical environment 1408. In some cases, the objects within the image data 1410 may be isolated and an object identity may be determined, such as a make and model of a television. For instance, the object detection instructions 1418 may detect any visible labels for identification information visible in the image data 1410, access third party systems to compare image data 1410 of the object with images of objects or products associated with the third party systems, or compare the image data 1410 to stored image data 1410 and object data 1428.

The object selection instructions 1420 may be configured to select an object 1428 based on the user preference data 1430 and the object data 1428 to render within a 3D virtual representation of an environment being generated for the user 1404. In some cases, the object selection instructions 1420 may select an object 1428 to render within the 3D virtual representation based at least in part on the objects detected within the image data 1410 by the object detection instructions 1418.

The object rendering instructions 1422 may be configured to render objects within the 3D virtual representation from a viewpoint specific position or perspective. For example, an object 1428 selected by the object selection instructions 1420 may be rendered using the model data 1426 (e.g., color, lighting, texture, etc.) based on at least one camera pose associated with the image data 1410 being used to create the 3D virtual representation or walkthrough. In some cases, the object rendering instructions 1422 may cause the selected object 1428 to be rendered using the high dynamic range data, high dynamic range textures, color characteristics, lighting characteristics, and occlusion characteristics associated with a corresponding 3D model. Thus, the object rendering instructions 1422 may render the object 1428 from the perspective associated with each viewpoint of a walkthrough with the correct coloring, lighting, and occlusion effects.

The object purchase instructions 1424 may be configured to purchase the selected object on behalf of the user 1404 in response to receiving purchase instructions 1430 from the mobile device 1406 associated with the user 1404. In some cases, an application operating on the mobile device 1406 may cause the user 1404 to be alerted to the object 1428 within the 3D virtual representation and to allow the user 1404 to view data (e.g., make, model, price, specification, etc.) of the object while viewing the 3D virtual representation. In some cases, the application may allow the user 1404 to enter purchase instructions 1434 (e.g., credit or debit card information) and to transmit the purchase instructions 1434 to the spatial interaction system 1402.

In some cases, the object purchase instructions 1424 may also include retargeting or object purchase follow up instructions. For example, in some cases, a user may view data related to the object within the 3D virtual representation but fail to purchase the object itself. In these examples, the object purchase instruction 1424 may be configured to generate an online advertising campaign to cause ads for the object to appear in third-party systems or webpages, cause an email campaign related to the object to be directed to the user of the 3D model, or provide information to a third party to conduct a retargeting campaign. In some instances, the object purchase instructions 1424 may also provide information to purchase related objects or services when the user is viewing the object information within the 3D model or 3D virtual representation. For example, the system 1402 may promote the user 1404 to connect to an interior decorate to assist with selecting furniture for the user's home.

As discussed above, the user 1404 may be capturing images using a mobile device 1406 to generate the 3D virtual representation of the physical environment 1408. In this example, the table 1414 may incidentally have an object, such as a horse 1416, located on top. The image data of the table 1414 and the horse 1416 may be sent to the spatial interaction system 1402. In this example, the object detection instructions 1418 may identify the horse 1416 as a collector's item. The object selection instructions 1420 may then in turn know that the user 1404 has a preference for collecting horse figurines and identify the availability of a new collector edition horse at select retailers. The object selection instructions 1420 may also select the new collector edition horse to be rendered on the table 1414 with respect to the walkthrough being generated by the spatial interaction system 1402.

In this example, the object rendering instructions 1422 may cause the new collector edition horse to be rendered within one or more viewpoints of the table 1414. The user 1404 may see the new collector edition horse when navigating through the walkthrough and select the new collector edition horse to see more information. The user 1404 may decide that the new collector edition horse would be an excellent table mate to the horse 1416 based on the aesthetics in the 3D virtual representation being viewed. Thus, the user 1404 may cause purchase instructions 1434 to be provided to the spatial interaction system 1402 and the object purchase instruction 1430 may cause the new collector edition horse to be purchased on behalf of the user 1404.

In another example, the spatial interaction system 1402 may present other objects to the user together with annotations or additional content useful for purchasing the object or simulating the look and feel of the object. For example, the spatial interaction system 1402 may render a speaker system into the 3D model of the physical environment 1408 and include annotations to allow the user to listen to or simulate the speaker system from a current viewpoint based on data associated with the speaker characteristics and placement within the 3D model. The system may first infer textures and/or materials from the image data (e.g., acoustic absorbing material, acoustic reverberating material, etc.). The spatial interaction system 1402 may then model the acoustics of the 3D model by applying a head related transfer function (HRTF) acoustic simulation to the 3D model given the relative positions of the speakers, textures, and materials within the environment with respect to the viewpoint. In the current example, a speaker or sound outputting device is mentioned, however, audio associated with any device, such as an appliance (e.g., fan, coffee maker, etc.) or other objects such as a water fixture may also be simulated using the system described herein.

FIGS. 15-21 are flow diagrams illustrating example processes associated utilizing a 3D model of a physical environment to generate 3D virtual representations according to some implementations. The processes are illustrated as a collection of blocks in a logical flow diagram, which represent a sequence of operations, some or all of which can be implemented in hardware, software or a combination thereof. In the context of software, the blocks represent computer-executable instructions stored on one or more computer-readable media that, which when executed by one or more processors, perform the recited operations. Generally, computer-executable instructions include routines, programs, objects, components, encryption, deciphering, compressing, recording, data structures and the like that perform particular functions or implement particular abstract data types.

The order in which the operations are described should not be construed as a limitation. Any number of the described blocks can be combined in any order and/or in parallel to implement the process, or alternative processes, and not all of the blocks need be executed. For discussion purposes, the processes herein are described with reference to the frameworks, architectures and environments described in the examples herein, although the processes may be implemented in a wide variety of other frameworks, architectures or environments.

FIG. 15 is an example flow diagram showing an illustrative process 1500 for generating an annotated 3D virtual representation, such as a walkthrough or doll house view mitigatable representation, of a physical environment according to some implementations. For example, the spatial interaction system described herein may be configured to generate a 3D virtual representation of a physical environment based on a 3D model of the physical environment and image data collect in the physical environment. For example, the spatial interaction system may utilize the camera pose or position within the physical environment to position the image data within the 3D model to generate a viewpoint of a walkthrough. In some cases, each of the viewpoints may also include annotations (e.g., textual content, visual content, or audio content obtained at the time the image used to generate the viewpoint was captured).

At 1502, the spatial interaction system, either operating on a local device (e.g., a mobile device capturing the images or a cloud based server system), may receive input image data associated with a physical environment. For example, the input image data may include high dynamic range data or video data captured as the user moves throughout the physical environment.

At 1504, the spatial interaction system may generate a spatial model (e.g., a 3D model) of the physical environment based at least in part on the input image data. For example, the spatial interaction system may utilize the high dynamic range data together with a camera pose determined by, for instance, simultaneous localization and mapping techniques to determine lighting characteristics, occlusion characteristics, color characteristics, etc. at various positions or perspectives within the 3D model.

At 1506, the spatial interaction system may receive secondary image data. For instance, a user may revisit the physical location to generate a 3D virtual representation or walkthrough of the physical environment by capturing a series of images of the physical environment. In some instances, the device capturing the images may again provide position data, such as IMU data, that may be used for simultaneous localization and mapping techniques to determine a position within the 3D model for each of the secondary images captured.

At 1508, the spatial interaction system may determine that the secondary image data is associated with the 3D model. For example, the spatial interaction system may utilize the camera pose or position to determine the secondary image data is associated with the 3D model of the environment. In another example, the spatial interaction system may analyze the image data to determine that the image data is similar to, or part of, the image data of the 3D model. In one particular example, the 3D model may include GPS data and the secondary image data may be received by the spatial interaction system in conjunction with GPS data of the location at which the secondary images were captured. In this example, the spatial interaction system may determine the secondary image data is associated with the 3D model based on the GPS data.

At 1510, the spatial interaction system may position the secondary image data within the spatial model based at least in part on a camera pose at the time the secondary image data was captured and/or other data associated with the secondary image data. For example, the spatial interaction system may generate the walkthrough by placing each image at a position or from a perspective indicated by the camera pose such that the viewer of the walkthrough navigates from camera pose to camera pose and the image data presented is photorealistic, as it is a photograph of the physical environment.

At 1512, the spatial interaction system may receive annotation data associated with the secondary image data. For example, as the spatial interaction system receives each of the images, the spatial interaction system may receive annotation data collected at the time the image was captured. In other examples, a user of the system may add the annotations to the viewpoints of the walkthrough following the capture of the secondary image data.

At 1514, the spatial interaction system may locate the annotation within the spatial model based at least in part the camera pose at the time the secondary image data was captured. For example, if an annotation was captured substantially contemporaneously (e.g., audio is recorded as video data of the physical environment is captured) with an image of the secondary image data, the camera pose associated with the image and the annotation may be the same. In this example, the spatial interaction system may associate the annotation and the image with the same viewpoint and/or position within the 3D virtual representation and/or the walkthrough based on the 3D model. In this manner, an individual that consumes the content associated with the 3D virtual representation may experience the annotation while viewing the same visual content (e.g., the state of the physical environment at the time and date the annotation was captured) as the individual that captured the image data.

In the current example, the annotations are captured at a time after the 3D model has been created or a time following the receipt of the input image data. However, it should be understood that, in other examples, annotations may be captured and associated with the 3D model at the time the 3D model is generated.

FIG. 16 is another example flow diagram showing an illustrative process 1600 for generating an annotated 3D virtual representation of a physical environment according to some implementations. For example, the spatial interaction system described herein may be configured to generate a 3D virtual representation of a physical environment based on a 3D model of the physical environment and image data collected in the physical environment. For example, the spatial interaction system may utilize the camera pose or position within the physical environment to position the image data within the 3D model to generate a viewpoint of a walkthrough. In some cases, each of the viewpoints may also include annotations (e.g., textual content, visual content, or audio content obtained at the time the image used to generate the viewpoint was captured).

At 1602, a spatial interaction system, either a local application hosted by an electronic device accessible to a user or at a remote cloud based server system, may receive first image and a first annotation associated with the image data. For instance, the user may be generating a walkthrough or 3D virtual representation of a physical environment by capturing a series of images of the physical environment. In some cases, the user may also capture or obtain annotation data (e.g., textual content, visual content, or audio content) that is supplemental to the first image. For example, the user may record an audio file of the user's thoughts while capturing the first image.

At 1604, the spatial interaction system may position the first image and the first annotation within a model of a physical environment based at least in part on a camera pose associated with the first image data. For instance, the device capturing the images may provide position data, such as IMU data, that may be used for simultaneous localization and mapping techniques to determine a position or camera pose within a 3D model of the physical environment associated with the first image. By positioning the first image and the first annotation based on the camera pose associated with the first image, the annotation may be consumed by an individual while the individual is viewing the first image within a 3D virtual representation of the physical environment.

At 1606, a spatial interaction system may receive a second image and a second annotation associated with the image data. For instance, the second image may be another image associated with the walkthrough of the physical environment being generated by the user. In some cases, the user may also capture or obtain annotation data (e.g., textual content, visual content, or audio content) that is supplemental to the second image. For example, the user may associate a 360° image of a piece of furniture within the second image to the second image.

In some cases, prior to associating the annotation to the viewpoint of the second image within the 3D virtual representation of the physical environment, the spatial interaction system may relocalize a photo or an annotation within the 3D model. For example, the spatial interaction system may relocalize the photo or the annotation based on visual content or image data of the photo or annotation (e.g., matching visual content to content within the 3D model), use of camera pose data (e.g., IMU data, position data, GPS data, etc.), and/or use of depth information associated with the photo (e.g., as captured using a depth sensor).

At 1608, the spatial interaction system may position the second image and the second annotation within a model of a physical based at least in part on a camera pose associated with the second image data. Again, the device capturing the images may provide position data, such as IMU data, that may be used for simultaneous localization and mapping techniques to determine a position or camera pose within a 3D model of the physical environment associated with the second image. By positioning the second image and the second annotation based on the camera pose associated with the second image, the annotation may be consumed by an individual while the individual is viewing the second image within a 3D virtual representation of the physical environment. In this case, the individual may view the second image including the piece of furniture while at the same time viewing the piece of furniture from a plurality of angles.

At 1610, the spatial interaction system may generate the walkthrough including a first viewpoint associated with the first image and the first annotation and a second viewpoint associated with the second image and the second annotation. In the current example, the first image is associated with a single annotation, however, it should be understood that any number of annotations may be associated with the first image and/or the second image. Additionally, while the process 1600 discusses annotations associated with two images used to generate a walkthrough of a physical environment, it should be understood that any number of images may be included some or all of which may have associated annotations.

FIG. 17 is an example flow diagram showing an illustrative process 1700 for connecting or combining 3D models according to some implementations. For example, in some instances, the spatial interaction system may generate 3D sub-models or 3D models of individual rooms based on captured image data. In some situations, a user may desire to connect or otherwise combine the 3D sub-models into a larger 3D model, such as when generating a doll house view or walkthrough of a home.

At 1702, the spatial interaction system, either operating on a local device (e.g., a mobile device capable of capturing image data) or on a remote cloud based server, may be configure to receive a first set of image data of a first physical environment, such as a first room of a home. In some cases, the first set of image data may contain high dynamic range data that may be used to characterize lighting, color, textures, and occlusion effects of objects within the first room.

At 1704, the spatial interaction system may generate a first spatial or 3D model of the first physical environment (e.g., the first room) using the first set of image data. For example, the first 3D model may be formed by generating a scanned mesh from the first set of image data. The spatial interaction system may then utilize the scanned mesh to detect major planar segments using a plane detection technique, such as a Hough voting scheme or random sample consensus. Then the spatial interaction system may for each segment, compute the segments planar normal and offsets. The spatial interaction system then utilizes at least one of clustering, iterations over pairs of segments, or iteration over normal or offsets to identify pairs of segments with approximately the same planar normal and offsets. In some examples, the spatial interaction system may apply one or more thresholds to determine if a pair of segments are within the same planar normal and offsets. In this example, for each pair of segments identified, the spatial interaction system determines that the pair is connected and completes the missing geometry between the segments of the pair. For instance, the spatial interaction system may find the lowest and highest points within the two segments, the right most edge of the left-most segment, and the left-most edge of the right-most segment and then complete the intermediate region with a selected mesh. The spatial interaction system may continue to cycle or loop to connect other geometries in the first 3D model by determining if each pair of geometries intersect and competing the geometry by selectin a mesh. the filled-in geometry. In some specific examples, the spatial interaction system may determine whether potential completed plane has a hole by detecting errors within the depth data of surfaces of a geometry when viewed from the front. In some situations, a geometry may not connect to the ground plane. In this situation, the spatial interaction system may extrapolate rays of lines from the camera at a plurality of locations and, if no lines intersect with the observed geometry beyond where the wall is to be extended, the spatial interaction system may extend the wall to the ground plane.

At 1706, the spatial interaction system may be configure to receive a second set of image data of a second physical environment, such as a second room of the home. In some cases, the second set of image data may contain high dynamic range data that may be used to characterize lighting, color, textures, and occlusion effects of objects within the second room.

At 1708, the spatial interaction system may generate a second spatial or 3D model of the second physical environment (e.g., the second room) using the second set of image data. For example, the second 3D model may be formed in a manner similar to that of the first 3D model discussed above.

At 1710, the spatial interaction system may be configure to receive a third set of image data of a third physical environment, such as a third room of the home. In some cases, the third set of image data may again contain high dynamic range data that may be used to characterize lighting, color, textures, and occlusion effects of objects within the second room.

At 1712, the spatial interaction system may generate a third spatial or 3D model of the third physical environment (e.g., the third room) using the second set of image data. For example, the third 3D model may be formed in a manner similar to that of the first 3D model discussed above.

At 1714, the spatial interaction system may display the first 3D model, the second 3D model, and the third 3D model to the user. For example, the user may indicate that the first, second, and third 3D models are each associated with the same larger physical environment (e.g., the home). In another example, the spatial interaction system may determine from the image data that the first, second, and third 3D models are each associated with the same larger physical environment.

At 1716, the spatial interaction system may receive a user input associating the first model with the second model and, at 1718, the spatial interaction system may orient and align the first model with the second model based at least in part on the user input and the model data. For example, the user may draw align connecting a doorway associated with the first model to a doorway associated with the second model. The spatial interaction system may then align the first 3D model with the second 3D model by aligning the doorways. In another example, the user may select and rotate the second 3D model to align correctly with the first 3D model and then drag and drop the second 3D model into place adjacent to the first 3D model.

At 1720, the spatial interaction system may receive a user input associating the first and second model with the third model and, at 1722, the spatial interaction system may orient and align the third 3D model with the first and second 3D model based at least in part on the user input and the model data. For example, the user may draw align connecting a doorway associated with the first or second model to a doorway associated with the third model. The spatial interaction system may then align the first or second 3D model with the third 3D model by aligning the doorways. In another example, the user may select and rotate the third 3D model to align correctly with the first or second 3D model and then drag and drop the third 3D model into place adjacent to the first and/or second 3D model.

At 1724, the spatial interaction system may generate a doll house view or connected 3D model from the aligned first, second, and third 3D model. For example, the lager or combined 3D model may be converted to an overhead view that always a user to view the 3D model as a doll house view.

FIG. 18 is another example flow diagram showing an illustrative process 1800 for connecting or combining 3D models according to some implementations. For example, as discussed above, the spatial interaction system may generate 3D sub-models or 3D models of individual rooms based on captured image data. In some situations, a user may desire to connect or otherwise combine the 3D sub-models into a larger 3D model, such as when generating a doll house view or walkthrough of a home. In the current example, the spatial interaction system may be configured to connect the 3D sub-models into a larger 3D model using connecting image data collected as the user moves from room to room while capturing video data or a series of images.

At 1802, the spatial interaction system, either operating on a local device (e.g., a mobile device capable of capturing image data) or on a remote cloud based server, may be configure to receive a first set of image data of a first physical environment, such as a first room of a home. In some cases, the first set of image data may contain high dynamic range data that may be used to characterize lighting, color, textures, and occlusion effects of objects within the first room.

At 1804, the spatial interaction system may generate a first spatial or 3D model of the first physical environment (e.g., the first room) using the first set of image data. For example, the first 3D model may be formed by generating a scanned mesh from the first set of image data. The spatial interaction system may then utilize the scanned mesh to detect major planar segments using a plane detection technique, such as a Hough voting scheme or random sample consensus. Then the spatial interaction system may for each segment, compute the segments planar normal and offsets. The spatial interaction system then utilizes at least one of clustering, iterations over pairs of segments, or iteration over normal or offsets to identify pairs of segments with approximately the same planar normal and offsets. In some examples, the spatial interaction system may apply one or more thresholds to determine if a pair of segments are within the same planar normal and offsets. In this example, for each pair of segments identified, the spatial interaction system determines that the pair is connected and completes the missing geometry between the segments of the pair. For instance, the spatial interaction system may find the lowest and highest points within the two segments, the right most edge of the left-most segment, and the left-most edge of the right-most segment and then complete the intermediate region with a selected mesh. The spatial interaction system may continue to cycle or loop to connect other geometries in the first 3D model by determining if each pair of geometries intersect and competing the geometry by selectin a mesh. the filled-in geometry. In some specific examples, the spatial interaction system may determine whether potential completed plane has a hole by detecting errors within the depth data of surfaces of a geometry when viewed from the front. In some situations, a geometry may not connect to the ground plane. In this situation, the spatial interaction system may extrapolate rays of lines from the camera at a plurality of locations and, if no lines intersect with the observed geometry beyond where the wall is to be extended, the spatial interaction system may extend the wall to the ground plane.

At 1806, the spatial interaction system may be configure to receive a second set of image data of a second physical environment, such as a second room of the home. In some cases, the second set of image data may contain high dynamic range data that may be used to characterize lighting, color, textures, and occlusion effects of objects within the second room.

At 1808, the spatial interaction system may generate a second spatial or 3D model of the second physical environment (e.g., the second room) using the second set of image data. For example, the second 3D model may be formed in a manner similar to that of the first 3D model discussed above.

At 1810, the spatial interaction system may be configure to receive a third set of image data of a third physical environment, such as a third room of the home. In some cases, the third set of image data may again contain high dynamic range data that may be used to characterize lighting, color, textures, and occlusion effects of objects within the second room.

At 1812, the spatial interaction system may generate a third spatial or 3D model of the third physical environment (e.g., the third room) using the second set of image data. For example, the third 3D model may be formed in a manner similar to that of the first 3D model discussed above.

At 1814, the spatial interaction system may receive connecting image data associated with the first room, the second room, and the third room. For instance, the user may captured connecting image data by collecting video or a series of images of the physical enjoinment (e.g., the home) as the user moves from room to room.

At 1816, the spatial interaction system may orient and align the first, second, and third models based at least in part on the connecting image data. For example, the spatial interaction system may execute a matching algorithm to analyze the connecting image data to determine which 3D model scans are associated with the connecting image data. Once the 3D models (e.g., the first, second, and third models) are matched to the connecting image data, the coordinates of the connecting image data and first, second, and third models are matched or aligned based on a global reference axis associated with the connecting image data (or a 3D model generated from the connecting image data). Once, the coordinates are aligned each of the first, second, and third models may be positioned with respect to each other.

FIG. 19 is another example flow diagram showing an illustrative process 1900 for rendering a viewpoint specific object within a 3D virtual representation according to some implementations. For example, in some instances, objects other than those existing the physical environment may be added to a 3D virtual representation of the physical environment. For instance, to allow a user or homeowner to visual the object within their home prior to purchasing.

At 1902, the spatial interaction system, either operating on a local device (e.g., a mobile device capable of capturing image data) or on a remote cloud based server, may receive high dynamic range data associated with an environment from a mobile device. For example, the user may scan or capture images of the physical environment using a mobile device or a scanner system attached or coupled to a mobile device to capture the high dynamic range data. In some cases, the high dynamic range data may be captured using a high dynamic range camera. In other cases, the mobile device may be equipped with shutter speed, aperture size, and ISO setting instructions, which may cause the mobile device to capture high dynamic range data using a conventional camera by adjusting the shutter speed, aperture size, and ISO settings based at least in part on detected lighting conditions within the physical environment at the time the image data is captured.

At 1904, the spatial interaction system may generate a 3D model of the physical environment based at least in part on the high dynamic range data. For example, the spatial interaction system may generate a scanned mesh from the high dynamic range data. The spatial interaction system may then utilize the scanned mesh to detect major planar segments using a plane detection technique, such as a Hough voting scheme or random sample consensus. Then the spatial interaction system may for each segment, compute the segments planar normal and offsets. The spatial interaction system then utilizes at least one of clustering, iterations over pairs of segments, or iteration over normal or offsets to identify pairs of segments with approximately the same planar normal and offsets. In some examples, the spatial interaction system may apply one or more thresholds to determine if a pair of segments are within the same planar normal and offsets. In this example, for each pair of segments identified, the spatial interaction system determines that the pair is connected and completes the missing geometry between the segments of the pair. For instance, the spatial interaction system may find the lowest and highest points within the two segments, the right most edge of the left-most segment, and the left-most edge of the right-most segment and then complete the intermediate region with a selected mesh. The spatial interaction system may continue to cycle or loop to connect other geometries in the first 3D model by determining if each pair of geometries intersect and competing the geometry by selectin a mesh. the filled-in geometry. In some specific examples, the spatial interaction system may determine whether potential completed plane has a hole by detecting errors within the depth data of surfaces of a geometry when viewed from the front. In some situations, a geometry may not connect to the ground plane. In this situation, the spatial interaction system may extrapolate rays of lines from the camera at a plurality of locations and, if no lines intersect with the observed geometry beyond where the wall is to be extended, the spatial interaction system may extend the wall to the ground plane.

At 1906, the spatial interaction system may colorize the 3D model and generate high dynamic range textures based at least in part on the high dynamic range data and, at 1908, the spatial interaction system may determine lighting characters and occlusion characterizes associated with the 3D model based at least in part on the high dynamic range textures. In this example, 1906 and 1904 are shown as independent blocks, however, in some implementations, the spatial interaction system may be configured to colorize the 3D model at the time the 3D model is generated. In other implementations, the 3D model may be generated, then colorized, then the 3D model may be retouched or regenerated based at least in part on the colorization that occurred at 1906.

At 1908, the spatial interaction system may receive a set of image associated with the physical environment, such as a first room of a home. For example, the user may desire to generate a 3D virtual representation or walkthrough of the physical environment using the 3D model generated from the high dynamic range data.

At 1910, the spatial interaction system may select an object to inset into the 3D virtual representation. For example, the spatial interaction system may select the object based on information known about the user (e.g., user preferences, demographic information, buying habits, etc.), data associated with the set of image or 3D model, information known about the object, information about the user or object received from a third-party.

At 1912, the spatial interaction system may generate a 3D virtual representation of the model from viewpoints including viewpoints associated with each image based at least in part on the set of image. For example, the spatial interaction system may locate or position each image within the 3D model based on a camera pose determined based on position data, such as IMU data, obtained at the time each image was captured. Thus, each image may be used to create a 3D experience in which the visual quality is photorealistic as each viewpoint may be formed from the camera pose and show the content of the captured image. In some cases, images may be overlapped on top of each other show the same perspective or viewpoint at different times of day or dates of the year. In this manner, the viewpoint may be able to represent the lighting effects and colorations at night, at high noon, and in the evening. Additional, the viewpoints may represent the environment both in the winter and during the summer as the position of the sun relative to the windows changes day to day and during each seasons. In some cases, the walkthrough may contain viewpoints that are unrelated to the set of images. In these cases, the spatial interaction system may render the background information based on the viewpoint and the 3D model.

At 1914, the spatial interaction system may simulate lighting effects caused by the rendering or insertion of the object into the environment. For example, the spatial interaction system may utilize ray tracing based on the 3D model (e.g., lighting position, lighting type, information about articles surrounding the rendered object, etc.) and data known about the object (e.g., texture, surface shape, surface material, etc.). in other examples the spatial interaction system may utilize geometries of the articles in the surrounding environment, radiosity techniques, ray casting, image based lighting techniques, among others.

In some cases, simulate lighting effects caused by the rendering or insertion of the object into the environment may include simulating lighting effects, including rendering the object using realistic lighting based at least in part on the 3D model and associated high dynamic range data, as well as simulating the effects of the object's presence on other illumination in the real scene. Further, in this example, 1912 and 1914 are shown as independent blocks, however, in some implementations, the spatial interaction system may be configured to perform operations associated with 1912 and 1914 in conjunction.

At 1916, the spatial interaction system may composite the object onto a background within the 3D model. For example, the spatial interaction system may generate a viewpoint dependent rendering of the object for each view point of the walkthrough containing the object based at least in part on the lighting characteristics, occlusion characteristics, color characteristics. For example, since the camera pose or position within the 3D model is known for each viewpoint of the walkthrough and the lighting characteristics, occlusion characteristics, color characteristics of the camera pose and/or position is also known within the 3D model, the object may be rendered with substantially photorealistic quality by applying the perspective, lighting effects, color effects, and/or occlusion effects to the object. In some cases, if the object has a reflective surface, the reflection on the surface may also be generated with substantially photorealistic quality by utilizing the lighting characteristics, occlusion characteristics, color characteristics as viewed from the position of the camera pose within the 3D model. In some cases, compositing the object into a background may also include simulating effects of shadowing and other effects caused by the introduction of the virtual object into the model on other objects and surfaces within the 3D model. For example, the object may block light falling onto a surface from a nearby window which would require updating the surface to reflect the shadowing caused by the object.

FIG. 20 is another example flow diagram showing an illustrative process 2000 for rendering a viewpoint specific object within a 3D virtual representation according to some implementations. For example, in some instances, objects other than those existing the physical environment may be added to a 3D virtual representation of the physical environment. For instance, to allow a user or homeowner to visual the object within their home prior to purchasing.

At 2002, the spatial interaction system, either operating on a local device (e.g., a mobile device capable of capturing image data) or on a remote cloud based server, may receive image data associated with a physical environment having a 3D model. For example, the user may desire to generate a 3D virtual representation or walkthrough of the physical environment using the 3D model, as discussed above.

At 2004, the spatial interaction system may receive object data associated with an object. For example, a third-party merchant system may provide the object data for an object that is available for purchase. The object data may include CAD or rendering instructions, object price, object costs, object dimensions, available styles, makes, models, etc., object specifications and characteristics, object functionally if any, object manufacture, object history, among others.

At 2006, the spatial interaction system may determine that a user may be interested in the object based in part on the image data, user data, and the object data. For example, the spatial interaction system may detect a second object related to the object (such as an older version of the object or a related object) within the image data. In other cases, the spatial interaction system may know from the user preferences or contextual information known about the user that the user has an interest in horse figurines, art work form a particular artist, or election devices from a particular manufacture. In some cases, the user preferences may include demographic information, such as age, gender, sex, social economic status, etc. that may be utilized to determine that the user may desired the object.

At 2008, the spatial interaction system may render the object within a 3D model associated with the user. For example, if the user has a walkthrough of the physical environment that the user is currently accessing, the spatial interaction system may cause the object to be rendered within the walkthrough.

At 2010, the spatial interaction system may alert the user to the object within the 3D model. For example, since the object may be rendered using the 3D model and the camera pose associated with various viewpoints of the walkthrough, as discussed above, the object may be rendered in a manner that the user could easily miss or overlook the insertion of the object into the walkthrough. Thus, in some cases, the spatial interaction system may highlight, annotate, or otherwise mark the rendered object to bring the object to the awareness of the user. For example, the spatial interaction system may insert an annotation to the viewpoints associated with the rendered object including 360° view, multiple images of the product, and textual content related to the object (e.g., at least some of the object data). In another example, the spatial interaction system may cause the device the user is using to consume the walkthrough to emit an audible noise to alert the user to the presence of the rendered object.

At 2012, the spatial interaction system may receive a first user input associated with the object, and at 2014, the spatial interaction system may display information associated with the object or a third party related to the user. For example, the user may select the object by touching the object on a touch sensitive surface, selecting via a control or input device, etc. and the spatial interaction system may cause a textual annotations, visual annotations, or audio annotations to be displayed to the user. In other examples, the spatial interaction system may present object data or links to third party system that the user can view additional information about the object at. In one case, the spatial interaction system may display information associated with a third party related to the object such as a designer that may help select an object for purchase or a retailer that offers the object for sale.

At 2016, the spatial interaction system may receive a second user input associated with the object, and at 2018, the spatial interaction system facilitate interaction between the user and a recommendation system or customer service personnel. For example, in some cases, the object may be of interest to the user but not quite the right ascetics or exactly the product the user is looking for. In these examples, the spatial interaction system may connect the user with a recommendation system or individual that may help with the selection of an object (such as furniture for the user's environment).

may place an order for the new version of the object with a merchant system on behalf of the user in response to receiving the third user input. For example, the spatial interaction system may contact a third-party system that provided the object data to request that the object be purchased by the user and delivered to an address associated with the user.

At 2022, the spatial interaction system may receive a third user input associated with the object, and at 2022, the spatial interaction system may place an order for the new version of the object with a merchant system on behalf of the user in response to receiving the third user input. For example, the spatial interaction system may contact a third-party system that provided the object data to request that the object be purchased by the user and delivered to an address associated with the user.

FIG. 21 is an example mobile device 2100 configured to generate 3D models and/or 3D virtual representations of a physical environment according to some implementations. In the current example, the mobile device 2100 is a portable electric device, such as tablets, netbooks, laptops, cell phones, mobile phones, smart phones, etc. that includes image capture components 2102, processing and storage resources, such as processors 2104, and storage devices, such as computer-readable storage media 2106, and at least one display 2108.

In the current example, the mobile device 2100 may include image components 2102 for capturing visual data, such as images or frames, from a physical environment. For example, the image components 2102 may be positioned to capture multiple image from the perspective of the mobile device 2100. As discussed above, the image components 2102 may be of various sizes and quality, for instance, the image components 2102 may include one or more wide screen cameras, 3D cameras, high definition cameras, video cameras, among other types of cameras. In some instances, the image components 2102 may include components capable of capturing high dynamic range data and/or depth data. In other instances, the image components 2102 may be configured to capture low dynamic range data.

In the illustrated example, the mobile device 2100 also includes one or more input/output interfaces 2108. The input/output interfaces 2108, generally, are for presenting information or data and for receiving user inputs. The input/output interfaces 2108 may include one or more output components, such as a display or touch screen, and one or more input components, such as keyboards, keypads, joysticks, a mouse, a touch screen, touch pad, drawing pad, or control buttons. In some implementations, the output components and input components are combined in a single input/output interfaces 2108 to provide a touch-sensitive display, or touch screen display. For instance, in the illustrated example, the input/output interfaces 2108 includes one or more displays for presenting information, such as electronic content items, to a user, one or more sensors for accepting input resulting from contact and/or application of incident force, such as a user finger or stylus pressing upon one of the sensor. In some specific implementations, the mobile device 2100 may be configured to receive user inputs by communicating with an active stylus. For example, the active stylus and the input/output interfaces 2108 may actively exchange data related to the user inputs. In some cases, the sensors may be a touch sensor couple to a touch layer. In this case, the touch sensor is configured to determine characteristics of user interaction with the input/output interfaces 2108. These characteristics may include the location of the touch on the input/output interfaces 2108, magnitude of the force, shape of the touch, and so forth. In some implementations, the input/output interfaces 2108 may present content in a human-readable format to a user (e.g., a 3D virtual representation of an environment and/or 3D model). The input/output interfaces 2108 may be reflective, emissive, or a combination of both.

As discussed above, in some cases, such as when the camera pose is utilized to position image data within a 3D model, the mobile device 2100 may be equipped with one or more measurement units 2110. The measurement units 2110 may be configured to collect data (e.g., the position data) associated with the camera pose at the time an image is captured by the image components 2102. In some cases, the position data may include acceleration data, angular momentum data, pitch data, roll data, yaw data, etc. In one example, the measurement units 2110 may include one or more IMUs, one or more accelerometers, one or more gyroscopes, one or more magnetometers, and/or one or more pressure sensors, as well as other sensors. In one particular example, the measurement units 2110 may include three accelerometers placed orthogonal to each other, three rate gyroscopes placed orthogonal to each other, three magnetometers placed orthogonal to each other, and a barometric pressure sensor.

The mobile device 2100 may also include one or more communication interfaces 2112 configured to facilitate communication between one or more networks, one or more cloud-based system, and/or one or more image systems, such as image system 104 of FIG. 1. The communication interfaces 2112 may also facilitate communication between one or more wireless access points, a master device, and/or one or more other computing devices as part of an ad-hoc or home network system. The communication interfaces 2112 may support both wired and wireless connection to various networks, such as cellular networks, radio, WiFi networks, short-range or near-field networks (e.g., Bluetooth®), infrared signals, local area networks, wide area networks, the Internet, and so forth. In some cases, the communication interfaces 2112 may be configured to send image data, annotation data, and/or camera poses associated with a physical environment to a remote processing system.

The mobile device 2100, generally, includes one or more speakers (not shown) to reproduce audio signals as sound into an environment and one or more microphones 2114 to capture sound from the environment and convert the sound into audio signals. The microphones 2114 may be a microphone array, a calibrated group of microphones, or multiple microphone arrays or calibrated groups. In some examples, microphones 2114 may be incorporated with an analog-to-digital converter to convert the sound into digital microphone output signals for processing. In generally, the microphones 2114 may be configured to activate in response to the image components 2102 capturing image data of a physical environment, such that the audio data may be utilized as an annotation to the image data within a 3D model.

The one or more processors 2104, such as at least one or more access components, control logic circuits, central processing units, or processors, as well as one or more computer-readable media 2106 to perform the function associated with the virtual environment. Additionally, each of the processors 2104 may itself comprise one or more processors or processing cores.

Depending on the configuration, the computer-readable media 2106 may be an example of tangible non-transitory computer storage media and may include volatile and nonvolatile memory and/or removable and non-removable media implemented in any type of technology for storage of information such as computer-readable instructions or modules, data structures, program modules or other data. Such computer-readable media may include, but is not limited to, RAM, ROM, EEPROM, flash memory or other computer-readable media technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, solid state storage, magnetic disk storage, RAID storage systems, storage arrays, network attached storage, storage area networks, cloud storage, or any other medium that can be used to store information and which can be accessed by the processors 2104.

Several modules such as instruction, data stores, and so forth may be stored within the computer-readable media 2106 and configured to execute on the processors 2104. For example, as illustrated, the computer-readable media 2106 may store image capture instructions 2116, annotation capture instructions 2118, camera pose capturing instruction 2120, location instructions 2122, model generation instructions 2124, model viewing instructions 2126, spatial annotation instruction 2128, sub-model connecting instructions 2130, object detection instructions 2132, object selection instructions 2134, object rendering instructions 2136, and object purchase instructions 2138. In some cases, the computer readable storage media 2106 may also store data, such as image data 2140 captured by the image components 2102, 3D models 2142, annotation data 2144 such as data captured by the microphone 2114, purchasing data 2146 (e.g., credit card information), user data 2148, object data 2150, third-party data 2152, and/or camera pose data 2154.

The capture instructions 2116 may be configured to control the image components 2102 to cause the image components to capture high dynamic range data, annotation data 2144, or other information about an physical environment. For example, the image capture instructions 2116 may control the shutter speed, aperture size, and ISO setting based on lighting at the time the image is being captured to simulate or replicate using a high dynamic range camera to capture the image. In some cases, capture instructions 2116 may control a low-dynamic-range capture device to acquire images in different parts of the scene's dynamic range (adjusting exposure, gain), and be combined to form high dynamic range data

The annotation capture instructions 2118 may cause the microphones 2114 or other components of the mobile device 2100 to capture supplemental information to an image being capture by the image components 2102. For example, the annotation capture instructions 2118 may activate the other components of the mobile device 2100 in response to the camera components 2102 capturing an image or video data of an environment.

The camera pose capturing instruction 2120 may be configured to cause the measurement units 2110 to capture position data associated with the mobile device 2100 at the time the mobile device 2100 captures an image. In the manner, the mobile device 2100 may utilize the position data and the image data 2140 to determine the camera pose data 2154 for each image captured. In some cases, the camera pose capturing instruction 2120 may utilize as a simultaneous localization and mapping technique to determine the camera pose 2154 at the time an image is captured.

The location instructions 2122 may receive the images data 2140 and/or camera pose data 2154, and utilize the image data 2140 and/or camera pose data 2154 to localize the mobile device 2100 and within a 3D model or 3D virtual representation. For example, the location instructions 2122 may utilize position data, camera pose, IMU data, visual data within the image, and/or depth data associated with the image to determine a viewpoint within the 3D model associated with each image captured by the mobile device 2100.

The model generation instructions 2124 may generate the 3D models 2142 using the high dynamic range data captured by the image components 2102. The model generation instructions 2124 may then utilize the scanned mesh to detect major planar segments using a plane detection technique, such as a Hough voting scheme or random sample consensus. Then the model generation instructions 2124 may for each segment, compute the segments planar normal and offsets. The spatial interaction system then utilizes at least one of clustering, iterations over pairs of segments, or iteration over normal or offsets to identify pairs of segments with approximately the same planar normal and offsets. In some examples, model generation instructions 2124 may apply one or more thresholds to determine if a pair of segments are within the same planar normal and offsets. In this example, for each pair of segments identified, the spatial interaction system determines that the pair is connected and completes the missing geometry between the segments of the pair. For instance, model generation instructions 2124 may find the lowest and highest points within the two segments, the right most edge of the left-most segment, and the left-most edge of the right-most segment and then complete the intermediate region with a selected mesh. The model generation instructions 2124 may continue to cycle or loop to connect other geometries in the doll house view by determining if each pair of geometries intersect and competing the geometry by selectin a mesh. the filled-in geometry. In some specific examples, the model generation instructions 2124 may determine whether potential completed plane has a hole by detecting errors within the depth data of surfaces of a geometry when viewed from the front. In some situations, a geometry may not connect to the ground plane. In this situation, the model generation instructions 2124 may extrapolate rays of lines from the camera at a plurality of locations and, if no lines intersect with the observed geometry beyond where the wall is to be extended, the model generation instructions 2124 may extend the wall to the ground plane.

The model viewing instructions 2126 may cause a 3D virtual representation or 3D model to be displayed on the input/output interface 2108. For example, the model viewing instructions 2126 may allow the user to control an experience of navigating or traversing the 3D virtual representation or 3D model. In some cases, the model viewing instructions 2126 may allow the user to interact with objects within the 3D virtual representation or 3D model.

The spatial annotation instruction 2128 may be used to position annotation data 2144 using the camera pose 2120. For example, the annotation data 2144 may be placed on an object within a 3D model 2140 or with respect to a particular viewpoint within the 3D model. In one specific example, the spatial annotation instruction 2128 may locate an annotation such as a video or audio sequence with a trajectory within the 3D model. For example, if a user captures video and/or audio data as the user moves through the physical environment, the spatial annotation instruction 2128 may tie the video data and/or audio data to a trajectory matching the trajectory of the mobile device 2100 through the physical environment, such that the viewer experiences the video content and audio content as an annotation to the 3D model as the trajectory is traversed within the virtual environment.

The sub-model connecting instructions 2130 receive video or successive still image data from the camera components 2102, as the user walks or moves from room to room (e.g., sub-model to sub-model). In this example, the sub-model connecting instructions 2130 may determine a camera pose 2154 relative to the 3D sub-models. The sub-model connecting instructions 2130 may then utilize the pose and the image data to align and orient each 3D sub-model with each other to generate the larger 3D model of the full physical environment. In another example, the sub-model connecting instructions 2130 may analyze the image data collected to identify the 3D sub-models in a successive order corresponding to the order the image data was captured. In this example, the sub-model connecting instructions 2130 may utilize the image data to orient each 3D sub-model with each other to generate the larger 3D model of the full physical environment.

In another example, the sub-model connecting instructions 2130 may cause 3D sub-models to be displayed to the user on the input/output interfaces 2108, the user may connected the 3D sub-models in a desired manner using the input/output interfaces 2108. For instance, in the current example, the user may have connected 3D sub-model by drawing a line between a first 3D sub-model and a second sub-model or dragging and dropping the first 3D sub-model next to the second 3D sub-model. In some instance, the user may indicate connecting doorways or opening of the first 3D sub-models and the second 3D sub-model to cause the 3D sub-models to correctly align with each other.

The object detection instructions 2132 may be configured to detect objects within the image data 2140 received from a physical environment, such as physical environment. In some cases, the objects within the image data 2140 may be isolated and an object identify may be determined, such as a make and model of a television. For instance, the object detection instructions 2132 may detect any visible labels for identification information visible in the image data 2150, access third party systems to compare image data 2150 of the object with images of objects or products associated with the third-party systems, or compare the image data 2140 to stored image data 2140 and object data 2150.

The object selection instructions 2134 may be configured to select an object 1428 based on the user data 2148 and the object data 2150 to render within a 3D virtual representation of an environment being generated for the user. In some cases, the object selection instructions 2134 may select an object to render within the 3D virtual representation based at least in part on the objects detected within the image data 2140 by the object detection instructions 2132.

The object rendering instructions 2136 may be configured to render objects within the 3D virtual representation from a viewpoint specific position or perspective. For example, an object selected by the object selection instructions 2134 may be rendered using the model data 2142 (e.g., to simulate lighting, shading, color, etc.) based on at least one camera pose 2154 associated with the image data 2140 being used to create the 3D virtual representation or walkthrough. In some cases, the object rendering instructions 2136 may cause the selected object to be rendered using the high dynamic range data, high dynamic range textures, color characteristics, lighting characteristics, and occlusion characteristics associated with a corresponding 3D model. For instance, the object rendering instructions 2136 may simulate lighting effects caused by the rendering or insertion of the object into the 3D virtual representation. For example, the object rendering instructions 2136 may utilize ray tracing based on the 3D model 2142 (e.g., lighting position, lighting type, information about articles surrounding the rendered object, etc.) and the object data 2150 (e.g., texture, surface shape, surface material, etc.). In other examples the object rendering instructions 2136 may utilize geometries of the articles in the surrounding environment, radiosity techniques, ray casting, image based lighting techniques, among others to render the object. Thus, the object rendering instructions 2136 may render the object from the perspective associated with each viewpoint of a walkthrough with the correct coloring, lighting, and occlusion effects.

The object purchase instructions 2138 may be configured to purchase the select object on behalf of the user. In some cases, the mobile device 2100 may cause the user to be alerted to the object within the 3D virtual representation rendered on the input/output interface 2108 and to allow the user to view data (e.g., make, model, price, specification, etc.) of the object while viewing the 3D virtual representation. In some cases, the user to enter purchase instructions 2138 (e.g., credit or debit card information) and to transmit the purchase instructions 2138 to a third-party system.

In some cases, the object purchase instructions 2138 may also include retargeting or object purchase follow up instructions. For example, in some cases, a user may view data related to the object within the 3D virtual representation but fail to purchase the object itself. In these examples, the object purchase instruction 2138 may be configured to generate an online advertising campaign to cause ads for the object to appear in third-party systems or webpages, cause an email campaign related to the object to be directed to the user of the 3D model, or provide information to a third party to conduct a retargeting campaign. In some instances, the object purchase instructions 2138 may also provide information to purchase related objects or services when the user is viewing the object information within the 3D model or 3D virtual representation. For example, the system 1402 may promote the user to connect to an interior decorate to assist with selecting furniture for the user's home.

FIG. 22 is an example cloud based service associated with a spatial interaction system 2200 configured to generate 3D models and/or 3D virtual representations of a physical environment according to some implementations. In the current example, the spatial interaction system 2200 is a cloud based service that may be configured to perform some portion of the computing associated with rendering 3D virtual representations and/or 3D models discussed herein.

The spatial interaction system 2200 may also include one or more communication interfaces 2202 configured to facilitate communication between one or more networks, one or more cloud-based system, and/or one or more mobile devices. The communication interfaces 2202 may also facilitate communication between one or more wireless access points, a master device, and/or one or more other computing devices as part of an ad-hoc or home network system. The communication interfaces 2202 may support both wired and wireless connection to various networks, such as cellular networks, radio, WiFi networks, short-range or near-field networks (e.g., Bluetooth®), infrared signals, local area networks, wide area networks, the Internet, and so forth. In some cases, the communication interfaces 2202 may be configured to send image data, annotation data, and/or camera poses associated with a physical environment to a remote processing system.

The one or more processors 2204, such as at least one or more access components, control logic circuits, central processing units, or processors, as well as one or more computer-readable media 2206 to perform the function associated with the virtual environment. Additionally, each of the processors 2204 may itself comprise one or more processors or processing cores.

Depending on the configuration, the computer-readable media 2206 may be an example of tangible non-transitory computer storage media and may include volatile and nonvolatile memory and/or removable and non-removable media implemented in any type of technology for storage of information such as computer-readable instructions or modules, data structures, program modules or other data. Such computer-readable media may include, but is not limited to, RAM, ROM, EEPROM, flash memory or other computer-readable media technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, solid state storage, magnetic disk storage, RAID storage systems, storage arrays, network attached storage, storage area networks, cloud storage, or any other medium that can be used to store information and which can be accessed by the processors 2204.

Several modules such as instruction, data stores, and so forth may be stored within the computer-readable media 2206 and configured to execute on the processors 2204. For example, as illustrated, the computer-readable media 2206 may store location instructions 2210, model generation instructions 2212, model viewing instructions 2214, spatial annotation instruction 2216, sub-model connecting instructions 2218, object detection instructions 2220, object selection instructions 2222, object rendering instructions 2224, and object purchase instructions 2226. In some cases, the computer readable storage media 2206 may also store data, such as image data 2226 captured by the image components 2228, 3D models 2230, annotation data 2232 such as data captured by a microphone, purchasing data 2236 (e.g., credit card information), user preference data 2238, object data 2240, third-party data 2242, and/or camera pose data 2244.

The location instructions 2210 may receive the images data 2226 and/or camera pose data 2154, and utilize the image data 2140 and/or camera pose data 2154 to localize the mobile device 2100 and within a 3D model or 3D virtual representation. For example, the location instructions 2122 may utilize position data, camera pose, IMU data, visual data within the image, and/or depth data associated with the image to determine a viewpoint within the 3D model associated with each image captured by a mobile device in the physical environment.

The model generation instructions 2210 may generate the 3D models 2228 using the high dynamic range data captured by a mobile device. The model generation instructions 2210 may then utilize the scanned mesh to detect major planar segments using a plane detection technique, such as a Hough voting scheme or random sample consensus. Then the model generation instructions 2210 may for each segment, compute the segments planar normal and offsets. The spatial interaction system then utilizes at least one of clustering, iterations over pairs of segments, or iteration over normal or offsets to identify pairs of segments with approximately the same planar normal and offsets. In some examples, model generation instructions 2210 may apply one or more thresholds to determine if a pair of segments are within the same planar normal and offsets. In this example, for each pair of segments identified, the spatial interaction system determines that the pair is connected and completes the missing geometry between the segments of the pair. For instance, model generation instructions 2210 may find the lowest and highest points within the two segments, the right most edge of the left-most segment, and the left-most edge of the right-most segment and then complete the intermediate region with an selected mesh. The model generation instructions 2210 may continue to cycle or loop to connect other geometries in the doll house view by determining if each pair of geometries intersect and competing the geometry by selectin a mesh. the filled-in geometry. In some specific examples, the model generation instructions 2210 may determine whether potential completed plane has a hole by detecting errors within the depth data of surfaces of a geometry when viewed from the front. In some situations, a geometry may not connect to the ground plane. In this situation, the model generation instructions 2210 may extrapolate rays of lines from the camera at a plurality of locations and, if no lines intersect with the observed geometry beyond where the wall is to be extended, the model generation instructions 2210 may extend the wall to the ground plane.

The model viewing instructions 2212 may cause a 3D virtual representation or 3D model to be displayed on a mobile device. For example, the model viewing instructions 2212 may allow the user to control an experience of navigating or traversing the 3D virtual representation or 3D model. In some cases, the model viewing instructions 2212 may allow the user to interact with objects within the 3D virtual representation or 3D model.

The spatial annotation instruction 2214 may be used to position annotation data 2230 using the camera pose 2240. For example, the annotation data 2230 may be placed on an object within a 3D model 2228 or with respect to a particular viewpoint within the 3D model.

The sub-model connecting instructions 2216 receive video or successive still image data from the mobile device, as the user walks or moves from room to room (e.g., sub-model to sub-model). In this example, the sub-model connecting instructions 2216 may determine a camera pose 2240 relative to the 3D sub-models. The sub-model connecting instructions 2216 may then utilize the pose and the image data to align and orient each 3D sub-model with each other to generate the larger 3D model of the full physical environment. In another example, the sub-model connecting instructions 2216 may analyze the image data collected to identify the 3D sub-models in a successive order corresponding to the order the image data was captured. In this example, the sub-model connecting instructions 2216 may utilize the image data to orient each 3D sub-model with each other to generate the larger 3D model of the full physical environment.

In another example, the sub-model connecting instructions 2216 may cause 3D sub-models to be displayed to the user on the mobile device 2216, the user may connected the 3D sub-models in a desired manner. For instance, in the current example, the user may have connected 3D sub-model by drawing a line between a first 3D sub-model and a second sub-model or dragging and dropping the first 3D sub-model next to the second 3D sub-model. In some instance, the user may indicate connecting doorways or opening of the first 3D sub-models and the second 3D sub-model to cause the 3D sub-models to correctly align with each other.

The object detection instructions 2218 may be configured to detect objects within the image data 2226 received from a physical environment, such as physical environment. In some cases, the objects within the image data 2226 may be isolated and an object identify may be determined, such as a make and model of a television. For instance, the object detection instructions 2218 may detect any visible labels for identification information visible in the image data 2226, access third party systems to compare image data 2226 of the object with images of objects or products associated with the third-party systems, or compare the image data 2226 to stored image data 2226 and object data 2236.

The object selection instructions 2220 may be configured to select an object 1428 based on the user data 2234 and the object data 2236 to render within a 3D virtual representation of an environment being generated for the user. In some cases, the object selection instructions 2220 may select an object to render within the 3D virtual representation based at least in part on the objects detected within the image data 2226 by the object detection instructions 2218.

The object rendering instructions 2222 may be configured to render objects within the 3D virtual representation from a viewpoint specific position or perspective. For example, an object selected by the object selection instructions 2220 may be rendered using the model data 2228 (e.g., to simulate lighting, shading, color, etc.) based on at least one camera pose 2240 associated with the image data 2226 being used to create the 3D virtual representation or walkthrough. In some cases, the object rendering instructions 2222 may cause the selected object to be rendered using the high dynamic range data, high dynamic range textures, color characteristics, lighting characteristics, and occlusion characteristics associated with a corresponding 3D model. For instance, the object rendering instructions 2222 may simulate lighting effects caused by the rendering or insertion of the object into the 3D virtual representation. For example, the object rendering instructions 2222 may utilize ray tracing based on the 3D model 2228 (e.g., lighting position, lighting type, information about articles surrounding the rendered object, etc.) and the object data 2236 (e.g., texture, surface shape, surface material, etc.). In other examples the object rendering instructions 2222 may utilize geometries of the articles in the surrounding environment, radiosity techniques, ray casting, image based lighting techniques, among others to render the object. Thus, the object rendering instructions 2222 may render the object from the perspective associated with each viewpoint of a walkthrough with the correct coloring, lighting, and occlusion effects.

The object purchase instructions 2224 may be configured to purchase the select object on behalf of the user. In some cases, the object purchase instructions 2224 may cause the user to be alerted to the object within the 3D virtual representation rendered on the mobile device and to allow the user to view data (e.g., make, model, price, specification, etc.) of the object while viewing the 3D virtual representation. In some cases, the user to enter purchase instructions 2224 (e.g., credit or debit card information) and to transmit the purchase instructions 2224 to a third-party system.

In some cases, the object purchase instructions 2224 may also include retargeting or object purchase follow up instructions. For example, in some cases, a user may view data related to the object within the 3D virtual representation but fail to purchase the object itself. In these examples, the object purchase instruction 2138 may be configured to generate an online advertising campaign to cause ads for the object to appear in third-party systems or webpages, cause an email campaign related to the object to be directed to the user of the 3D model, or provide information to a third party to conduct a retargeting campaign. In some instances, the object purchase instructions 2224 may also provide information to purchase related objects or services when the user is viewing the object information within the 3D model or 3D virtual representation. For example, the system 2200 may promote the user to connect to an interior decorator to assist with selecting furniture for the user's home.

Although the subject matter has been described in language specific to structural features, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features described. Rather, the specific features are disclosed as illustrative forms of implementing the claims. 

What is claimed is:
 1. A method comprising: obtaining a first plurality of photos of a first environment, individual photos of the first plurality of photos having a different view of the first environment, a first photo of the first plurality of photos having an associated first camera pose and first annotation data, the first annotation data having a first trajectory; generating a first three-dimensional (3D) model of the first environment from first model data including the first plurality of photos of the environment; associating the first annotation data with a first object within the 3D model; positioning the first annotation data within a first viewpoint of the 3D model of the first environment and with respect to the first object based on the first trajectory, the first trajectory associated with a first motion path of the first camera pose at a first time that the first annotation data is captured and the first viewpoint displayed to a user from a point of view based on the first camera pose; obtaining a second plurality of photos of a second environment, individual photos of the second plurality of photos having a different view of the second environment, a second photo of the second plurality of photos having a second associated camera pose and second annotation data, the second annotation data having a second trajectory; generating a second 3D model of the second environment from second model data including the second plurality of photos of the second environment; associating the second annotation data with a second object within the 3D model; positioning the second annotation data within a second viewpoint of the 3D model of the second environment and with respect to the second object based on the second trajectory, the second trajectory associated with a second motion path of the second camera pose at a second time that the second annotation data is captured and the second viewpoint displayed to a user from a point of view based on the second camera pose; determining that the first environment is adjacent to the second environment; generating a third 3D model including the first environment and the second environment; and generating a walkthrough of a third environment reparented by the third 3D model, the walkthrough including the first viewpoint and the second viewpoint and transitioning the user through the first viewpoint and the second viewpoint along a fixed path, the fixed path based at least in part on the first trajectory and the second trajectory.
 2. The method as recited in claim 1, wherein: a second photo of the first plurality of photos includes a third camera pose; associating a third viewpoint of the second photo of the first plurality of photos with a point of view based on the third camera pose; and wherein the walkthrough includes the third viewpoint.
 3. The method as recited in claim 1, wherein the first annotation data includes metadata associated with a device used to capture the plurality of photos.
 4. The method as recited in claim 1, further comprising associating the first annotation data with a third viewpoint of the first 3D model based on the trajectory.
 5. The method as recited in claim 1, wherein the first annotation data includes at least one of text content, video content, photo content, or audio content.
 6. A method comprising: receiving a first set of image data, the first set of image data associated with a first room of a first environment; generating a first three-dimensional (3D) model of the first room from first model data including the first set of image data; receiving a second set of image data, the second set of image data associated with a second room of a second environment; generating a second 3D model of the second room from second model data including the second set of image data; determining that a third environment includes the first environment and the second environment; determining that the first 3D model and the second 3D model are adjacent within the third environment; determining a first doorway of the first 3D model and a second doorway of the second 3D model; and aligning, based at least in part on the first doorway of the first 3D model and the second doorway of the second 3D model, the first 3D model with the second 3D model to generate a third 3D model representative of the combination of the first room and the second room.
 7. The method as recited in claim 6, wherein the second set of image data is captured at a period of time different from the first set of image data.
 8. The method as recited in claim 6, wherein determining that the first 3D model and the second 3D model are adjacent within the third environment includes: presenting a doll house view of the first 3D model and a doll house view of the second 3D model on a display; receiving a first user input indicating a first position on the first 3D model and a second user input a second position on the second 3D model; and aligning the first 3D model with the second 3D model using the first position and the second position.
 9. The method as recited in claim 8, wherein the first position represents the first doorway and the second position represents the second doorway.
 10. The method as recited in claim 6, wherein determining that the first 3D model and the second 3D model are adjacent within the third environment includes: receiving connecting image data representative of the first room and the second room; and determining from the connecting image data that the first room is adjacent to the second room.
 11. The method as recited in claim 10, wherein the connecting image data is a sequence of images captured concurrently by a user as the user moves from the first room to the second room.
 12. A method comprising: obtaining first image data of a first environment, the first image data including a first plurality of photos of the first environment; generating a first three-dimensional (3D) representation of the environment using the first image data, the first 3D representation of the first environment having a first plurality of viewpoints from which a user may view the 3D representation of the first environment, a perspective of each viewpoint of the first plurality of viewpoints corresponding to a perspective of at least one of the first plurality of photos; obtaining second image data of an environment, the second image data including a second plurality of photos of the second environment; generating a second three-dimensional (3D) representation of the second environment using the second image data, the second 3D representation of the second environment having a second plurality of viewpoints from which the user may view the second 3D representation of the second environment, a perspective of each viewpoint of the second plurality of viewpoints corresponding to a perspective of at least one of the second plurality of photos; determining that the first environment is adjacent to the second environment; and generating a walkthrough of a third 3D representation of a third environment from the first plurality of viewpoints and the second plurality of viewpoints, the walkthrough transitions the user through first plurality of viewpoints and the second plurality of viewpoints along a fixed path, the third environment including the first environment and the second environment.
 13. The method as recited in claim 12, wherein an object within the third 3D representation of the third environment is visible from each of the viewpoints of the walkthrough.
 14. The method as recited in claim 12, further comprising displaying visual data to a user from a first viewpoint of the walkthrough, the visual data is the image data of the environment corresponding to a photo of the first plurality of photos utilized to generate the viewpoint.
 15. The method as recited in claim 12, further comprising: generating a mesh of the third 3D representation of the third environment using the first image data and the second image data; and inserting a rendered object into the third 3D representation of the third environment, wherein inserting the object into the third 3D representation includes: determining lighting effects associated with the rendered object for each viewpoint using the first image data and the second image data; determining occlusion effects associated with the rendered object for each viewpoint using the first image data and the second image data; and determining coloring effects associated with the rendered object for each viewpoint using the first image data and the second image data.
 16. The method as recited in claim 15, wherein the lighting effects, occlusion effects, and coloring effects are also determined based on a time of day.
 17. The method as recited in claim 15, further comprising communicatively connecting a user viewing the rendered object with a service personnel, wherein the service personnel is also able to view the rendered object from the viewpoints.
 18. The method as recited in claim 15, further comprising facilitating a purchase of the object on behalf of a user.
 19. The method as recited in claim 12, further comprising determining that the first 3D representation and the second 3D representation are adjacent within the third environment.
 20. The method as recited in claim 19, wherein determining that the first 3D representation and the second 3D representation are adjacent is based at least in part on a temporal proximity between a first time associated with capturing the first image data and a second time associated with capturing the second image data. 